<?php

include(__DIR__.'/../Bootstrap.php');

/**
 * Initialisateur du Framework en mode Web
 *
 * @category   McCube
 * @package    Root
 * @author     Leiha Sellier <leiha.sellier@gmail.com>
 * @license    http://creativecommons.org/licenses/by/3.0/  CC BY 3.0
 * @link       http://code.google.com/p/mechanics-cubes/
 */
class McCube_Bootstrap_Web
    extends McCube_Bootstrap {

    public    $urlRoot = '';
    public    $context = 'web';
    protected $_classOfApplication = 'McCube_Bundle_Application_Web';

    /** */
    public function __construct($appPublic){
        $this->urlRoot = 'http://'.$_SERVER['HTTP_HOST'].'/';
        parent::__construct($appPublic.DIRECTORY_SEPARATOR.'..');
    }
}